//
//  KLService.h
//  KoalaUtilKit
//
//  Created by Tommy on 15/1/4.
//  Copyright (c) 2015年 Alibaba-inc.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KLIService.h"
#import "ReactiveCocoa.h"

@protocol KLIRequest;

@interface KLService : NSObject<KLIService>
@property(nonatomic,strong)id<KLIStrategy> strategy;


- (RACSignal *)startRequest:(id<KLIRequest>)request;

- (RACSignal*)fetch;
- (RACSignal*)fetchWithParams:(NSDictionary*)params;
- (RACSignal*)fetchWithRequest:(id<KLIRequest>)request;

@end
